package net.begincode.enums;

import net.begincode.common.enums.ResponseEnum;

/**
 * Created by saber on 2017/9/22.
 */
public enum StatusEnum implements ResponseEnum{
    DEL_FLAG("1","删除状态"),
    STOP_FLAG("2","停用状态"),
    NO_DEL_FLAG("0","可用状态");

    private String code;
    private String message;

    StatusEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
